package com.Logistics.mycommon.pojo.pdbase;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 车辆行驶证表
 * </p>
 *
 * @author PinDaLogistics
 * @since 2024-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdTruckLicense对象", description="车辆行驶证表")
public class PdTruckLicense implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "车辆id")
    private String truckId;

    @ApiModelProperty(value = "发动机编号")
    private String engineNumber;

    @ApiModelProperty(value = "注册时间")
    private Date registrationDate;

    @ApiModelProperty(value = "国家强制报废日期")
    private Date mandatoryScrap;

    @ApiModelProperty(value = "检验有效期")
    private Date expirationDate;

    @ApiModelProperty(value = "整备质量")
    private BigDecimal overallQuality;

    @ApiModelProperty(value = "核定载质量")
    private BigDecimal allowableWeight;

    @ApiModelProperty(value = "外廓尺寸")
    private String outsideDimensions;

    @ApiModelProperty(value = "行驶证有效期")
    private Date validityPeriod;

    @ApiModelProperty(value = "道路运输证号")
    private String transportCertificateNumber;

    @ApiModelProperty(value = "图片信息")
    private String picture;


}
